package com.pan.dao.couponHistory;

import org.apache.ibatis.annotations.Mapper;

import java.sql.Timestamp;

@Mapper
public interface CouponHistoryDeleteDao{
    Integer deleteById(Long id);
    Integer deleteByCouponId(Long couponId);
    Integer deleteByUserId(Long userId);
    Integer deleteByCreateDate(Timestamp createDate);
    Integer deleteByUseType(Integer useType);
    Integer deleteByUseDate(Timestamp useDate);
    Integer deleteByOrderId(Long orderId);
}